{include file="public/head"}

<body>
<div class="centInput">
    <input type="text" placeholder="请输入姓名" />
    <input type="text" placeholder="请输入身份证号" />
    <input type="text" placeholder="请输入电话号码" />
    <div class="centInput-code">
        <input type="text" class="centInput-code-left floatLeft" placeholder="请输入验证码" />
        <input type="button" id="btn" value="获取验证码" class="floatRight" />
    </div>
</div>
<div class="submitCent">
    提交并支付
</div>
<script src="__STATIC__/home/js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
<script src="__STATIC__/home/js/swiper.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    $(function() {
        $('#btn').click(function() {
            var Time = 60;
            var aa = setInterval(bb, 1000);
            function bb() {
                $("#btn").attr("disabled", true);
                $("#btn").val(Time + "秒后重发");
                if(Time == 0) {
                    $("#btn").val("点击发送验证码").removeAttr("disabled");
                    clearInterval(aa);
                }
                Time--;
            }
        });

    });
</script>
</body>

</html>